package com.yami.shop.personnft.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yami.shop.personnft.common.model.TransferApplyRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TransferApplyService {
	public void save(@Param("transferApplyRecord") TransferApplyRecord transferApplyRecord);
	public void updateByPrimaryKeySelective(@Param("transferApplyRecord") TransferApplyRecord transferApplyRecord);
	public TransferApplyRecord selectById(@Param("id") String id);
	public List<TransferApplyRecord> selectList(@Param("transferApplyRecord") TransferApplyRecord transferApplyRecord);
	public void updateIntoStautsByBatchId(@Param("batchId") String batchId,@Param("status") Integer status,@Param("msg") String msg,@Param("times") Integer times);
	public TransferApplyRecord selectIntoStautsByBatchId(@Param("batchId") String batchId);

	public TransferApplyRecord selectIntoStautsByAppId(@Param("appId") String appId);
	/**
	 * 批量修改
	 *
	 * @param
	 */
	void updateBatch(@Param("list") List<TransferApplyRecord> list);
	IPage<TransferApplyRecord> page(Page page, TransferApplyRecord transferApplyRecord);
}
